﻿using System;
using System.Collections.Generic;
using System.Text;
using WebHacker;

namespace PosHacker.Form
{
    class FormLogin:POSForm
    {

        public FormLogin()
        {
            this.ibLogin0x = "5";
            this.ibLogin0y = "6";
        }
            public string __VIEWSTATE{get;set;}
            public string __EVENTVALIDATION{get;set;} 
            public string txtUserID{get;set;}
            public string txtPassword{get;set;}
            public string ibLogin0x{get;set;}
            public string ibLogin0y{get;set;}

            public string ToString() {
                HttpRequestDictionary vFormParas = new HttpRequestDictionary();
                vFormParas.Add("__VIEWSTATE", this.__VIEWSTATE);
                vFormParas.Add("__EVENTVALIDATION", this.__EVENTVALIDATION);
                vFormParas.Add("txtUserID", this.txtUserID);
                vFormParas.Add("txtPassword", this.txtPassword);
                vFormParas.Add("ibLogin.x", this.ibLogin0x);
                vFormParas.Add("ibLogin.y", this.ibLogin0y);
                return vFormParas.ToString();
            }
    }
}
